/*
 * ResponseBanksData.cpp
 *
 *  Created on: 2011-3-10
 *      Author: 
 */

#include "ResponseBanksData.h"
#include "ProjectsDefines.h"

CResponseBankItemData::CResponseBankItemData()
{
    // No implementation required
}

CResponseBankItemData::~CResponseBankItemData()
{
    SAFE_DELETE( _id );
    SAFE_DELETE( _name );
}

CResponseBankItemData* CResponseBankItemData::NewLC()
{
    CResponseBankItemData* self = new ( ELeave ) CResponseBankItemData( );
    CleanupStack::PushL( self );
    self->ConstructL( );
    return self;
}

CResponseBankItemData* CResponseBankItemData::NewL()
{
    CResponseBankItemData* self = CResponseBankItemData::NewLC( );
    CleanupStack::Pop( ); // self;
    return self;
}

void CResponseBankItemData::ConstructL()
{

}

CResponseBanksData::CResponseBanksData()
{
    // No implementation required
}

CResponseBanksData::~CResponseBanksData()
{
    SAFE_DESTROY( _banks );
}

CResponseBanksData* CResponseBanksData::NewLC()
{
    CResponseBanksData* self = new ( ELeave ) CResponseBanksData( );
    CleanupStack::PushL( self );
    self->ConstructL( );
    return self;
}

CResponseBanksData* CResponseBanksData::NewL()
{
    CResponseBanksData* self = CResponseBanksData::NewLC( );
    CleanupStack::Pop( ); // self;
    return self;
}

void CResponseBanksData::ConstructL()
{
    //_banks = new RPointerArray< CResponseBankItemData > ( 0x10 );
}
